/**
 * @(#)com.framework.web.demo.repository.DemoRepository
 *
 * Copyright (c) 2014-2018 上海天跃科技有限公司
 *
 * DESC:
 *
 */
package com.framework.web.sys.repository;

import com.framework.web.sys.domain.Role;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * 角色信息
 * @author fusf
 * @version 1.0  2016/1/7
 */
public interface RoleRepository extends PagingAndSortingRepository<Role, String>,
        JpaSpecificationExecutor<Role> {

        public List<Role> findByStatusOrderBySortIndex(String status);

}
